<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://java.sun.com/jsf/html"> 

<h:head>

<script type="text/javascript">
 function cadastro(){
	 window.open("\cadastroPratos.jsf","_self");
}

</script>

</h:head> 
<body> 
<f:view>

	<rich:panel>
		<f:facet name="header">
			<h:outputText value="Cadastro de Alunos" style="font-size:11pt;
			font-weight:bold" />
		</f:facet>
		
		
			<h:outputText value="Cadastro de Alunos" style="font-size:9pt;
			font-weight:bold" />
			
			<a4j:form id="formulario">
			
				<h:panelGrid columns="2" style="font-size:9pt;font-weight:bold">
					
					<h:outputLabel value="Nome" />
					<h:inputText id="nome" value="" maxlength="50" size="70" />

					<h:outputLabel value="E-mail" />
					<h:inputText id="email" value="" maxlength="50" size="70" />
					
					<h:outputLabel value="Sexo" />
<!-- 					<h:selectOneMenu id="sexo" value="" > -->
<!-- 						<f:selectItem itemLabel="Selecione o sexo" itemValue=""/> -->
<!-- 						<f:selectItems value="gfgfg" />				 -->
<!-- 					</h:selectOneMenu> -->

	 
<!-- 						<f:selectItem itemLabel="Masculino" itemValue="m"/> -->
<!-- 						<f:selectItem itemLabel="Feminino" itemValue="f"/>	 -->

					<h:outputLabel value="Data de Nascimento" />
					<rich:calendar datePattern="dd/MM/yyyy" id="datanasc"  value="" ></rich:calendar>

					<h:outputLabel value="Unidade" />
					<h:inputText id="unidade" value=""
					 maxlength="50" size="40" />

					<h:outputLabel value="Obeservação" />
					<h:inputTextarea id="obs" style="Width 100%" rows="5" cols="40" value=""></h:inputTextarea>
					
				</h:panelGrid>
				
<!-- 				<rich:suggestionbox for="unidade" width="250"  height="50" -->
<!-- 				suggestionAction="" var="result"> -->
<!-- 					<h:column> -->
<!-- 						<h:outputText value="#{result}" />	 -->
<!-- 					</h:column> -->
<!-- 					<h:column></h:column> -->
<!-- 				</rich:suggestionbox> -->
				
				<h:panelGrid columns="2" style="height:50px">
					<h:commandButton value="Cadastrar" action="#"></h:commandButton>
					<h:messages style="font-size:11pt;color:red"></h:messages>
				</h:panelGrid>
				<br/>
				
<!-- 				<a href="consulta.jsf">Consultar Aluno</a> -->
			</a4j:form>
		
		
	</rich:panel>




</f:view>
</body> 
</html>
